import axios from "axios";

export default {
  // 登录
  login(data) {
    return axios({
      method: 'post',
      url: `/system/auth/login`,
      data
    })
  },
  //登出
  logout() {
    return axios({
      method: 'get',
      url: `/system/auth/logout`
    })
  },
}
